<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/app/include/init_app.jsp" %>
<%
	String book_code		= StringUtil.nvl(request.getParameter("book_code"));

	HashList categoryList 	= (HashList)request.getAttribute("categoryList");
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title><%= HOME_NAME %></title>
	<link rel="stylesheet" href="../../css/mobile.app.css"/>
	<script src="../../js/jquery-1.11.0.min.js"></script>
	
	
	<script type="text/javascript">
	
	
	</script>
	
</head>
<body>
    <div>
    	
        <div>
        
        	<ul class="listview">
<%		for (int i = 0; i < categoryList.size(); i++) { %>
<%			if ("0".equals(categoryList.get("sort2",i))) { %>
				<li class="group"><%= categoryList.get("category_name",i) %></li>
<%			} else { %>
				<li>
					<a href="./bookList.app?category_code=<%= categoryList.get("category_code",i)%>" class="arrow-r">
						<%= categoryList.get("category_name",i) %>
					</a>
					<span><%= categoryList.get("book_count",i) %></span>
				</li>
<%			} %>
<%		} %>
        	</ul>

        </div>
  	</div>
</body>
</html>

